home *** CD-ROM | disk | FTP | other *** search
/ An Introduction to Progr…l Basic 6.0 (4th Edition) / An Introduction to Programming using Visual Basic 6.0.iso / COMMON / TOOLS / VB / CABINETS / MSDAO350.CAB / icontrols / HTMLControl$ClassInfo.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-01-08  |  2.9 KB  |  53 lines

  1. package icontrols;
  2.  
  3. import com.ms.wd.core.CategoryAttribute;
  4. import com.ms.wd.core.DescriptionAttribute;
  5. import com.ms.wd.core.ICustomizer;
  6. import com.ms.wd.core.IEvents;
  7. import com.ms.wd.core.IProperties;
  8. import com.ms.wd.core.PropertyInfo;
  9. import com.ms.wd.core.ValueEditorAttribute;
  10. import com.ms.wd.ui.Control;
  11.  
  12. public class HTMLControl$ClassInfo extends Control.ClassInfo {
  13.    public static final PropertyInfo ImportHTMLFileName;
  14.    public static final PropertyInfo ImportHTML;
  15.    // $FF: synthetic field
  16.    private static Class class$icontrols$HTMLControl;
  17.    // $FF: synthetic field
  18.    private static Class class$java$lang$String;
  19.    // $FF: synthetic field
  20.    private static Class class$com$ms$wd$core$FileNameEditor;
  21.  
  22.    public ICustomizer getCustomizer(Object component) {
  23.       return new HTMLControl.Customizer(component);
  24.    }
  25.  
  26.    public void getEvents(IEvents events) {
  27.    }
  28.  
  29.    static {
  30.       ImportHTMLFileName = new PropertyInfo(class$icontrols$HTMLControl != null ? class$icontrols$HTMLControl : (class$icontrols$HTMLControl = class$("icontrols.HTMLControl")), "ImportHTMLFileName", class$java$lang$String != null ? class$java$lang$String : (class$java$lang$String = class$("java.lang.String")), CategoryAttribute.Appearance, new DescriptionAttribute("The file from which to import HTML"), new ValueEditorAttribute(class$com$ms$wd$core$FileNameEditor != null ? class$com$ms$wd$core$FileNameEditor : (class$com$ms$wd$core$FileNameEditor = class$("com.ms.wd.core.FileNameEditor"))));
  31.       ImportHTML = new PropertyInfo(class$icontrols$HTMLControl != null ? class$icontrols$HTMLControl : (class$icontrols$HTMLControl = class$("icontrols.HTMLControl")), "ImportHTML", class$java$lang$String != null ? class$java$lang$String : (class$java$lang$String = class$("java.lang.String")), CategoryAttribute.Appearance, new DescriptionAttribute("HTML String to be used in document."));
  32.    }
  33.  
  34.    // $FF: synthetic method
  35.    private static Class class$(String s) {
  36.       try {
  37.          return Class.forName(s);
  38.       } catch (ClassNotFoundException e) {
  39.          throw new NoClassDefFoundError(((Throwable)e).getMessage());
  40.       }
  41.    }
  42.  
  43.    public void getProperties(IProperties props) {
  44.       super.getProperties(props);
  45.       props.add(ImportHTMLFileName);
  46.       props.add(ImportHTML);
  47.    }
  48.  
  49.    public String getDefaultPropertyName() {
  50.       return "BackColor";
  51.    }
  52. }
  53.